var vm = new Vue({
    el: "#app",
    data: {
        account: "",
        accountName: "",
        transferAmount: "",
        fee: ""
    },
    components: {
        "header-com": headerCom,
        "count-com": countCom
    },
    created() {
        axios.post("./confirm2")
            .then((res) => {
                var changeString = res.data.tocardNo;
                var changeName = res.data.username;
                this.account = changeString.replace(changeString.slice(5,14),"*********");
                this.accountName = changeName.replace(changeName.slice(0,1),"*");
                this.transferAmount = res.data.amount;
                this.fee = res.data.fee;
            })
            .catch(function (err) {
                alert(err);
            })
    }
});